package com.unhz.generator.dao;


import com.unhz.generator.pojo.Insole;


import java.util.List;
import com.unhz.generator.pojo.Insole;
import com.unhz.generator.vo.InsoleVo;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @Author: 魏运奇
 * @Description: 中底样品
 * @Date: Created in 上午 11:23 2018/1/29 0029
 * @Modified By: V1.0.0
 */
@Repository
public interface InsoleMapper extends BaseMapper<Insole>{

    Insole selectByPrimaryKey(@Param("id") Integer insoleId);

    Integer getTotalRecordsByKeywords(@Param("keywords")String keywords);

    List<Insole> selectInsoleList(Map<String, Object> map);

    Insole selectById(@Param("id") Integer id);

    String[] selectImageById(@Param("id") Integer id);

    int deleteById(Integer id);

    int updateByPrimaryKeySelective(Insole record);

    int insertSelective(Insole insole);

    List<Insole> selectAllInsoles();

    Insole selectShoes(@Param("insoleId") Integer insoleId);

    int changeCheckStatus(@Param("id") Integer id, @Param("status") Integer status);

    Insole selectInsoleByModel(@Param("model") String model);

    void keyPass(Insole insole);

    InsoleVo selectOneInsoleByInsoleId(@Param("insoleId") Integer insoleId);

}

